import { _decorator, Component, Label, Node } from 'cc';
import { JCComponent } from '../JCComponent';
const { ccclass, property } = _decorator;

@ccclass('CardDeckPanel')
export class CardDeckPanel extends JCComponent {
    @property(Label)
    lbDeckCardNum: Label = null;

    update(deltaTime: number) {
        if (this.prop) {
            this.lbDeckCardNum.string = `${this.prop.pokerGame.pockerDeck.length}/${this.prop.pokerGame.fullDeckCardNum}`
        }
    }
}

